<div class="depot-form"> 
  <%= error_messages_for :user %> 
  <fieldset>Entrez les détails de l'utilisateur
    <legend>Entrez les détails de l'utilisateur</legend> 
    <% form_for @user do |f| %> 
    <p> 
      <label for="user_firstname">Firstname:</label> 
      <%= f.text_field :firstname, :size => 40 %> 
    </p> 
    <p>
      <label for="user_lastname">Lastname:</label>
      <%= f.text_field :lastname, :size => 40 %>
    </p>
    <p> 
      <label for="user_password">Mot de passe:</label> 
      <%= f.password_field :password, :size => 40 %> 
    </p>
    <p> 
      <label for="user_email">Email:</label> 
      <%= f.text_field :email, :size => 40 %> 
    </p>
    <p> 
      <label for="user_adress">Adresse:</label> 
      <%= f.text_field :adress, :size => 40 %> 
    </p>
    <p> 
      <label for="user_cp">Code Postal:</label> 
      <%= f.text_field :cp, :size => 40 %> 
    </p>
    <p> 
      <label for="user_city">City:</label> 
      <%= f.text_field :city, :size => 40 %> 
    </p>
    <p> 
      <%= f.submit "Ajouter Utilisateur", :class => "submit" %> 
    </p> 
    <% end %> 
  </fieldset> 
</div> 
